package com.laowang.config;

import lombok.Data;
import org.hibernate.property.access.internal.PropertyAccessStrategyResolverInitiator;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.Map;

/**
 * Created by Administrator on 2019/1/17.
 */
@Data
@Component
@ConfigurationProperties(prefix = "wechat")
public class WeChatAccountConfig {
   private String mpAppId;
   private String mpAppSecret;
   //商户号
    private String mchId;
    //商户密匙
    private String mchKey;
    //商户证书路径
    private String keyPath;
    //微信支付异步通知地址
    private String notifyUrl;
    private Map<String,String> templateId;
}
